/*
 * WinApp.h
 *
 *  Created on: 2012-12-18
 *      Author: yangentao@gmail.com
 */

#pragma once;
#include <Windows.h>
#include "WinLoop.h"

namespace yet {

class WinApp: public WinLoop {
	typedef WinLoop Super;
public:
	WinApp();
	virtual ~WinApp();
public:
	int loop();
	int loop(HWND mainWindow);
	HWND getMainWindow();
private:
	HWND mainWnd;
};

}
/* namespace yet */
